package com.iweb.address.dao;

import com.iweb.address.model.Address;
import com.iweb.util.PageModel;

import java.util.List;

public interface AddressDao {

    public List<Address> selectByPage(PageModel pageModel, Integer userid);

    public Address queryByUserId(Integer userid);

    public int saveOne(Address address);

    int deleteById(Integer addressid);

    int updateById(Address address);

    Address queryByAddressId(Integer addressid);
}
